<template>
  <div class="dashboard">
    <!-- <img alt="Vue logo" src="~@/assets/logo.png" /> -->
    <svg-icon icon-class="lock" class="svgtest" />
    <svg-icon icon-class="edit"></svg-icon>
    <div class="blue-btn">首页</div>
    <div>{{ userId }}</div>
    <el-button type="primary">主要按钮</el-button>
    <el-input v-model="input" placeholder="请输入内容"></el-input>
  </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
  name: "dashboard",
  components: {},
  data() {
    return {
      input: ""
    };
  },
  computed: {
    ...mapGetters(["userId"])
  }
};
</script>

<style lang="scss" scoped>
.svgtest {
  color: brown;
  font-size: 28px;
}
</style>
